package com.yvtian.om.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * mrp运算详情(om_mrp_item)表实体类
 *
 * @author long
 * @since 2024-07-05 09:58:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "om_mrp_item")
public class OmMrpItemEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 编码
     */
    @TableField(value = "zcode")
    private String zcode;
    /**
     * 商品编码
     */
    @TableField(value = "shop_code")
    private String shopCode;
    /**
     * 商品名称
     */
    @TableField(value = "shop_name")
    private String shopName;
    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;
    /**
     * 型号规格
     */
    @TableField(value = "attribute")
    private String attribute;
    /**
     * 需求数
     */
    @TableField(value = "required_quantity")
    private Integer requiredQuantity;
    /**
     * 当前库存数
     */
    @TableField(value = "quantity")
    private Integer quantity;
    /**
     * 在途数
     */
    @TableField(value = "in_transit_quantity")
    private Integer inTransitQuantity;
    /**
     * 不足数
     */
    @TableField(value = "un_enough")
    private Integer unEnough;


}

